package com.teamall.web.sys.db.dao.mapper;

import com.teamall.web.sys.db.arg.SysInfoArg;
import com.teamall.web.sys.db.po.SysInfoPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ISysInfoMapper {
    
    List<Integer> countByArg(SysInfoArg arg);

    List<SysInfoPO> selectByArg(SysInfoArg arg);

    SysInfoPO selectByPrimaryKey(Integer id);

    List<SysInfoPO> selectByArgAndPage(SysInfoArg arg, RowBounds rowBound);

    int insert(SysInfoPO record);

    int insertSelective(SysInfoPO record);

    int insertBatch(@Param("list") List<SysInfoPO> records);

    int updateByArgSelective(@Param("record") SysInfoPO record,
            @Param("arg") SysInfoArg arg);

    int updateByArg(@Param("record") SysInfoPO record,
            @Param("arg") SysInfoArg arg);

    int updateByPrimaryKeySelective(SysInfoPO record);

    int updateByPrimaryKey(SysInfoPO record);
    
    int deleteByArg(SysInfoArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}